package com.hq.bootdemo.mapper;

import com.hq.bootdemo.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    //根据用户名查询用户
    UserEntity login(@Param("username") String username);
}
